<html>
<head>
<TITLE>Marsems System</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/style.css" type=text/css rel=stylesheet>
</head>
<script language="javascript" src="../js/Validation.js" type="text/JavaScript"></script>

<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" cellspacing="1" cellpadding="4">
  <tr bgcolor="#E4E4E4"> 
    <td width="10%" align="center">ID</td>
     <td width="10%" align="center">Order</td>
    <td width="40%">&nbsp;Name</td>
    <td width="10%">Status</td>
    <td width="30%" align="center">Operation | <b><a href="listMenuGroup_Add.php?menuGid={$menuGid}&menuid={$menuid}">Add</a></b></td>
  </tr>
  <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
    <td colspan="5" align="center"><font color="#FF0000">{$error_message}</font></td>
  </tr>
  {foreach item=menu from=$arrMenuGroupList}
  <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
    <td align="center">{$menu.id}</td>
    <td align="center">{$menu.orders}</td>
    <td >&nbsp;{$menu.name}</td>
    <td>&nbsp;{$menu.status}</td>
    <td align="center">
    {section name=opItem loop=$arrOperateInfo}
        
    		{if $smarty.section.opItem.index != 0}
	    		&nbsp;&nbsp;|&nbsp;&nbsp;
    	    {/if}

    		<a href="{$selfFileName}_{$arrOperateInfo[opItem].name}.php?menuGid={$menuGid}&menuid={$menuid}&id={$menu.id}" onClick="return validDefault.isConfirmOperate('{$arrOperateInfo[opItem].name}')">{$arrOperateInfo[opItem].viewName}</a>
        
    {/section}</td>
  </tr>
  {/foreach}
</table>
<table width="100%" cellspacing="0" cellpadding="4">
  <tr>
   <td align="left" width="20%">{$PAGE_BAR}</td>
   <td colspan="2" align="center" width="80%"></td>
  </tr>
</table>
</body>
</html>